/* app.js
*  项目的应用app
*/
import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { connect } from 'react-redux';

//import 'semantic-ui/dist/semantic.css';
//import 'babel-polyfill';


const homeDescribe=(
	<div style={{margin:"10px 20px"}}>
		<p style={{margin:"10px 20px",textAlign:"left",fontSize:"30px"}}>欢迎使用校校H5制作</p>
	</div>
	);

class App extends Component{
	componentDidMount(){
		
	}

	render() {
	    return (
		    <div>
      			<div>{this.props.children || homeDescribe }</div>
		    </div>);
	}
}

//connect连接操作不会改变原来的组件类，反而返回一个新的已与 Redux store 连接的组件类
export default connect()(App);
